package com.springboot.second.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lw
 * @since 2023-10-17
 */
@Getter
@Setter
@TableName("menu")
@ApiModel(value = "User对象", description = "")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty("菜单编码")
    @TableField("menucode")
    private String menuCode;

    @ApiModelProperty("菜单名字")
    @TableField("menuname")
    private String menuName;

    @ApiModelProperty("菜单级别")
    @TableField("menulevel")
    private String menuLevel;

    @ApiModelProperty("菜单的父code")
    @TableField("menuparentcode")
    private String menuParentCode;

    @ApiModelProperty("点击触发的函数")
    @TableField("menuclick")
    private String menuClick;

    @ApiModelProperty("权限 0超级管理员, 1表示管理员, 2表示普通用户, 可以用逗号组合使用")
    @TableField("menuright")
    private String menuRight;

    @TableField("menucomponent")
    private String menuComponent;

    @TableField("menuicon")
    private String menuIcon;


}
